Repository navigation
feat: add admin.analytics.members.metadata method - #1717
Draft
lukegalbraithrussell wants to merge 1 commit into
Draft
lukegalbraithrussell wants to merge 1 commit into
lukegalbraithrussell wants to merge 1 commit into
Conversation
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
This was referenced Nov 18, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1717 +/- ##
============================================
+ Coverage 73.82% 73.95% +0.13%
- Complexity 4760 4772 +12
============================================
Files 488 488
Lines 14856 14869 +13
Branches 1543 1544 +1
============================================
+ Hits 10967 10997 +30
+ Misses 2970 2958 -12
+ Partials 919 914 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds the
admin.analytics.members.metadatamethod to the sync and async clients.adminAnalyticsMembersMetadatareturns profile metadata for each member of an organization or workspace: names, title, email addresses, workspaces, and SCIM profile attributes. It takesincludeDeactivatedSince,teamId,memberTypes,query,limit, andcursor, all optional.memberTypesis a list, sent comma-separated.workspacesis a map of workspace ID to workspace name, so it's typedMap<String, String>.admin.analytics.members.activity, added in feat: add admin.analytics.members.activity method #1716, which returns members by ID only. Join the two onuser_id.MethodsRateLimitsandrate_limit_tiers.json.json-logssample, which node-slack-sdk generates its response type from (feat(web-api): add admin.analytics.members.metadata method node-slack-sdk#2874), plus local sync, async, and response-parsing tests and a remote test.This pull request is independent of #1716, so either one can be reviewed and merged first. Whichever merges second needs a rebase, since both edit the same places in the client classes and the method count in
MethodsTest.Testing
test_with_remote_apis.methods_admin_api.AdminApi_analytics_members_metadata_TestwithSLACK_SDK_TEST_GRID_ORG_ADMIN_USER_TOKEN(admin.analytics:read).Live check: these calls ran against an Enterprise developer sandbox with this branch's compiled client and
failOnUnknownPropertieson, so every returned field is typed.queryreturns only matching members,memberTypesfilters the results,includeDeactivatedSinceis accepted,workspacesparses as a map,limit(3)withcursorpages through every member with no repeats, and the async client returnsok../scripts/run_no_prep_tests.sh's local tests forslack-api-clientpass on JDK 17.Category
Requirements
🤖 Generated with Claude Code